matplotlib: add build, test workflows for riscv64#97
Draft
threexc wants to merge 1 commit into
Draft
Conversation
bca1843 to
5816bb0
Compare
Collaborator
Author
|
This is close to working, but the latest run looks to be building numpy 2.5.0 from source. I'll pause working on this and get a numpy 2.5.0 wheel built and added to our registry before continuing. That'll also give me an opportunity to iron out a custom action I've been working on to simplify our deploy step. |
5816bb0 to
61ab64a
Compare
We make use of uv to simplify the pipeline in several ways: - replace 'python -m pip' with 'uv pip' - set cache to match uv usage - use uv for CIBW_BUILD_FRONTEND - set UV_EXTRA_INDEX_URL to our GitLab registry, with UV_INDEX_STRATEGY=unsafe-best-match and UV_ONLY_BINARY=:all: so we pick whichever source has a binary wheel - drop 'allow-prereleases' from setup-uv since this only applies to the setup-python action Also make sure we explicitly skip musllinux builds, since upstream isn't building them either. Otherwise, we run into issues with uv setup: |Building cp314-musllinux_riscv64 wheel |CPython 3.14 musllinux riscv64 | |Setting up build environment... | | + mkdir -p / | + /opt/python/cp39-cp39/bin/python -c 'import sys, json, os; json.dump(os.environ.copy(), sys.stdout)' | + which python | + which uv | ✕ 4.07s |Error: cibuildwheel: Command ['which', 'uv'] failed with code 1. | |Error: Process completed with exit code 1. Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
61ab64a to
2edc6dc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.